package com.qianji.petmall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qianji.common.utils.PageUtils;
import com.qianji.petmall.product.entity.SpuInfoEntity;
import com.qianji.petmall.product.vo.SpuSaveVo;

import java.util.Map;

/**
 * spu信息
 *
 * @author xiaoxin
 * @email 485350978@qq.com
 * @date 2022-01-07 14:35:43
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSpuInfo(SpuSaveVo saveVo);

    void SaveSupInfo(SpuInfoEntity spuInfoEntity);

    PageUtils queryPageByCondition(Map<String, Object> params);

    void getSkuInfoBySkuId(Long spuId);

    SpuInfoEntity getSkuInfoBySpuId(Long skuId);
}

